<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <script type="text/javascript" src="https://api.map.baidu.com/api?v=1.0&type=webgl&ak=kWjsW12aqnYyalYU5GepvrmwUqgVjT6f"></script>
    <title>地图展示</title>
    <style>
        html,body,#allmap{
            width: 100%;
            height: 100%;
            overflow: hidden;
            margin: 0;
            padding: 0;
        }
    </style>
</head>
<body>
    <div id="allmap"></div>

    <script>
        var map = new BMapGL.Map('allmap') //创建地图实例
        var point = new BMapGL.Point(115.404,39.195) // 创建地图的中心点位置
        map.centerAndZoom(point,15) // 初始化地图，设置中心点坐标和地图级别

        // 添加地图控件
        var cityCtrl = new BMapGL.CityListControl();  // 添加城市列表控件
        map.addControl 

    </script>
</body>
</html>